const express = require("express");
var router = express.Router();
var ristoryCtrl = require("../controllers/ristory.server.controller");
router.route("/ristory")
		.post(ristoryCtrl.addRistory);

router.route("/ristory/:id")
		.delete(ristoryCtrl.deleteRistory);

router.route("/ristories")
		.get(ristoryCtrl.getRistories);

module.exports = router;